package controllers

import javax.inject.Inject
import play.api.mvc._

/**
  * Created by yz on 2017/6/12.
  */
class IndexController @Inject()(cc:ControllerComponents) extends AbstractController(cc) {

  def toIndex = Action {
    Ok(views.html.index())
  }

  def toContact = Action {
    Ok(views.html.contact())
  }

}
